The SGSetDataRef function specifies the destination data reference for a record operation.
pascal ComponentResult SGSetDataRef (
SeqGrabComponent s,
Handle dataRef,
OSType dataRefType,
long whereFlags);
The SGSetDataRef function allows you to specify the destination for a record operation using a data reference, and to specify other options that govern the operation. This function is similar to the SGSetDataOutput function, and provides you an alternative way to specify the destination.
If you are performing a preview operation, you do not need to use the SGSetDataRef function.
The SGGetDataRef function allows you to determine the data reference that is currently assigned to a sequence grabber component and the control flags that would govern a record operation.
pascal ComponentResult SGGetDataRef (
SeqGrabComponent s,
Handle *dataRef,
OSType *dataRefType,
long *whereFlags);
The SGGetDataRef function allows you to determine the data reference that is currently assigned to a sequence grabber component and the control flags that would govern a record operation.
You set these characteristics by calling the SGSetDataRef function, which is described in the previous section. If you have not set these characteristics before calling the SGGetDataRef function, the returned data is meaningless.
The SGSettingsDialog function has a new flag value that you can pass in the flags parameter. Previously, you could only set this parameter to 0. Pass the new flag, seqGrabSettingsPreviewOnly , to indicate that you want to display only panels that make sense for previewing. In particular, the video compression will not be displayed. Use this flag for applications that allow a live video signal to be viewed but not captured.